import Vue from 'vue'
const baseUrl=global.config.requestUrl+'/boss';
const baseUrl1=global.config.requestUrl;
const action={
    login:baseUrl+'/admin/login',
    loginIn:baseUrl+'/admin/menu/list',
    modifyPwd:baseUrl+'/admin/password/modification',//修改登录密码
    
    getChannel:baseUrl+'/selection/register/channel',//注册渠道下拉
    getPayChannel:baseUrl+'/selection/pay/channel',//还款放款下拉通道
    getGroupMember:baseUrl+'/partner/group/member',//催收员下拉，roleCategory：1-客服小组，2-信审小组，3-催收小组
    getApp:baseUrl+'/selection/apk',//获取app下拉
    getGroupName:baseUrl+'/partner/group/list',//获取组名下拉（小组分类：1-客服小组，2-信审小组，3-催收小组）
    getGroupLeader:baseUrl+'/partner/group/leader',//获取组长下拉
    
    fileUpload:baseUrl+'/file/upload',
    fileDownload:baseUrl+'/file/download',
    fileDownload_oss:baseUrl+'/file/download/oss',

    finance_loanlist:baseUrl+"/after/reminder/loan/list",
    finance_loanexport:baseUrl+"/after/reminder/loan/export",
    finance_repay:baseUrl+'/after/reminder/repayment/list',
    finance_repayexport:baseUrl+'/after/reminder/repayment/export',
    finance_reportlist:baseUrl+'/data/financial/report/list',
    finance_reportexport:baseUrl+'/data/financial/report/export',
    product_applist:baseUrl+'/operation/product/app/list',
    product_appAdd:baseUrl+'/operation/product/app/add',
    product_appUpdate:baseUrl+'/operation/product/app/update',
    product_appDelete:baseUrl+'/operation/product/app/delete',
    product_prolist:baseUrl+'/operation/product/product/list',
    product_proSave:baseUrl+'/operation/product/product/save',//产品添加
    product_proUpdate:baseUrl+'/operation/product/product/update',//产品修改   
    product_proCopy:baseUrl+'/operation/product/product/copy',//产品复制
    product_proDel:baseUrl+'/operation/product/product/delete',
    product_amountList:baseUrl+'/operation/product/amount/list',//额度管理列表
    product_amountSave:baseUrl+'/operation/product/amount/save',//新增用户级别
    product_amountUpdate:baseUrl+'/operation/product/amount/update',//用户级别修改
    product_amountDel:baseUrl+'/operation/product/amount/delete',
    product_amountExe:baseUrl+'/operation/product/amount/execute',
    product_questionlist:baseUrl+'/operation/app/question/list',//常见问题列表
    product_questionSave:baseUrl+'/operation/app/question/save',//常见问题添加
    product_questionUpdate:baseUrl+'/operation/app/question/update',//常见问题修改  
    product_questionDel:baseUrl+'/operation/app/question/delete',//常见问题删除
    product_initData:baseUrl+'/operation/product/query/init/data',//产品添加初始化数据
    

    user_userList:baseUrl+'/user/list',
    user_userExport:baseUrl+'/user/list/export',
    user_userDetail:baseUrl+'/user/',//用户详情
    user_userspecial:baseUrl+'/user/special',//添加特殊名单
    user_userSuglist:baseUrl+'/feedback/list',//用户反馈列表
    user_userSugExcel:baseUrl+'/user/userexcel',//用户反馈导出??
    user_userSugReply:baseUrl+'/feedback/reply',//用户反馈回复
    user_userSugReplyall:baseUrl+'/feedback/reply/batch',//用户反馈批量操作
    user_telemarket:baseUrl+"/user/add/telemarketer",//用户列表-转电销

    
    statistic_passList:baseUrl+'/data/risk/pass/list',//统计管理通过率列表
    statistic_passExport:baseUrl+'/statistic/pass/export',//统计管理通过率导出
    statistic_overdueList:baseUrl+'/data/post-loan/overdue/list',//统计管理逾期率列表
    statistic_overdueExport:baseUrl+'/data/post-loan/overdue/export',//统计管理逾期率导出
    statistic_returnList:baseUrl+'/collection/rate/statistics',//统计管理回款率率列表
    

    operation_promotionList:baseUrl+'/operation/audit/promotion/list',//运营管理推广计划列表
    operation_promotionExport:baseUrl+'/operation/audit/promotion/export',//运营管理推广计划导出
    operation_promotionSave:baseUrl+'/operation/audit/promotion/save',//运营管理推广添加修改
    operation_promotionUpdate:baseUrl+'/operation/audit/promotion/update',//运营管理推广添加修改

    operation_automatiList:baseUrl+'/operation/audit/automatic/list',//运营管理内置消息推送列表
    operation_automatiSave:baseUrl+'/operation/audit/automatic/save',//运营管理内置消息推送表单提交
    operation_automatiUpdate:baseUrl+'/operation/audit/automatic/update',//运营管理内置消息推送表单提交
    operation_automatiDel:baseUrl+'/operation/audit/automatic/delete',//运营管理内置消息列表删除

    operation_manualList:baseUrl+'/operation/audit/manual/list',//运营管理手动消息列表
    operation_manualSend:baseUrl+'/operation/audit/manual/send',//运营管理手动消息表单提交

    audit_accountList:baseUrl+'/operation/audit/account/list',//审核管理平账列表
    audit_accountView:baseUrl+'/operation/audit/account/view',//审核管理平账查看
    audit_accountSave:baseUrl+'/operation/audit/account/examine',//审核管理平账审核

    operation_channelList:baseUrl+'/data/operational/channel/list',//运营数据渠道数据列表
    operation_channelExport:baseUrl+'/data/operational/channel/export',//运营数据渠道数据导出
    operation_blackList:baseUrl+'/data/risk/blacklist/list',//运营数据黑名单命中率列表
    operation_blackExport:baseUrl+'/data/risk/blacklist/export',//运营数据黑名单命中率导出

    loan_loanList:baseUrl+'/order/list',//借款管理借款列表
    loan_loanExport:baseUrl+'/order/list/export',//借款管理借款列表导出
    loan_loanDetail:baseUrl+'/order/',//借款管理借款详情
    loan_lendList:baseUrl+'/order/lend/list',//借款管理放款列表
    loan_lendExport:baseUrl+'/order/lend/list/export',//借款管理放款列表导出
    loan_lendRenew:baseUrl+'/order/lend/afresh',//借款管理放款重新放款
    loan_lendFail:baseUrl+'/order/lend/fail/detail',//借款管理放款查看原因
    loan_lendDetail:baseUrl+'/order/lend/account/detail/',//借款管理放款重新放款详情
    loan_lendBank:baseUrl+'/order/lend/bank',//借款管理放款重新放款银行列表
    loan_lendMethods:baseUrl+'/order/lend/lend/methods',//借款管理放款重新放款放款方式列表
    loan_repaymentList:baseUrl+'/order/repayment/list',//借款管理还款列表
    loan_repaymentExport:baseUrl+'/order/repayment/list/export',//借款管理还款列表导出
    loan_repaymentSubmit:baseUrl+'/order/repayment/submit',//借款管理还款列表线下还款
    loan_repaymentRevise:baseUrl+'/order/repayment/revise',//借款管理还款列表调账
    loan_repaymentReList:baseUrl+'/order/repayment/revise/list/',//借款管理还款列表调账列表
    
    

    risk_approveFirstList:baseUrl+'/order/approve/first/list',//风控管理人工初审列表
    risk_approvePhone:baseUrl+'/order/approve/phone/',//风控管理审核记录
    risk_approveAppoint:baseUrl+'/order/approve/appoint',//风控管理人工初审指派
    risk_approveSecondList:baseUrl+'/order/approve/second/list',//风控管理人工复审列表
    risk_approveFirStatis:baseUrl+'/order/approve/first/statistics/list',//风控管理人工初审统计列表
    risk_approveFirExport:baseUrl+'/order/approve/first/statistics/list/export',//风控管理人工初审统计导出
    risk_approveSecStatis:baseUrl+'/order/approve/second/statistics/list',//风控管理人工复审统计列表
    risk_approveSecExport:baseUrl+'/order/approve/second/statistics/list/export',//风控管理人工复审统计导出
    risk_approveManList:baseUrl+'/order/approve/manual/list',//风控管理人审数据查看列表
    risk_approveManExport:baseUrl+'/order/approve/manual/list/export',//风控管理人审数据查看导出
    risk_approveRejectTop:baseUrl+'/order/approve/reject/top',//风控管理机审数据图
    risk_approveRejectList:baseUrl+'/order/approve/reject/list',//风控管理机审列表
    risk_approveRejectExp:baseUrl+'/order/approve/reject/list/export',//风控管理机审数据导出
    
    myaudit_firstList:baseUrl+'/order/approve/admin/first/list',//我的审核我的人工初审订单列表
    myaudit_secondList:baseUrl+'/order/approve/admin/second/list',//我的审核我的人工复审
    myaudit_claim:baseUrl+'/order/approve/claim',//我的审核订单认领
    myaudit_submit:baseUrl+'/order/approve/submit',//我的审核审核提交
    myaudit_refReason:baseUrl+'/order/approve/refusal/reason',//我的审核驳回原因
    myaudit_rejectDay:baseUrl+'/order/approve/reject/day',//获取禁言天数
   
    remind_list:baseUrl+'/after/reminder/expire/list',//到期温提列表
    remind_export:baseUrl+'/after/reminder/expire/export',//到期温提列表导出
    remind_appoint:baseUrl+'/after/reminder/expire/appoint',//到期温提指派
    remind_phoneHistory:baseUrl+'/after/reminder/expire/history',//历史电话记录
    remind_mylist:baseUrl+'/after/reminder/myexpire/list',//我的到期温提列表
    //selection_customer:baseUrl+'/selection/customer/service',//转派给人员下拉
    remind_staticslist:baseUrl+'/data/reminder/statistics/list',//温提统计列表
    remind_staticsExport:baseUrl+'/data/reminder/statistics/export',//温提统计列表导出
    remind_recordSave:baseUrl+'/after/reminder/record/save',//我的到期温提保存
    customer_serviceUpdate:baseUrl+'/partner/customer/service/update',//客服设置修改提交
    customer_service:baseUrl+'/partner/customer/service/partner/view',//客服设置获取值
    customer_servicePart:baseUrl+'/partner/customer/service/view',//客服乙方设置获取值（要传商户id）
    customer_stage:baseUrl+'/selection/customer/stage',//客服阶段下拉接口
    
    
    collection_reportlist:baseUrl+"/collection/report/list",//催收员日报表
    collection_list:baseUrl+"/collection/list",
    collection_mylist:baseUrl+"/collection/my/list",
    collection_analysis:baseUrl+"/collection/analysis/",
    collection_orderShift:baseUrl+"/collection/order/shift",
    collection_record:baseUrl+"/collection/details/record",//催收记录
    collection_phonelist:baseUrl+"/collection/details/phone",//催收电话列表
    collection_callSubmit:baseUrl+"/collection/details/call/submit",//电话催收
    collection_smsTemplate:baseUrl+"/collection/details/sms/template",//催收短信模板
    collection_smsSend:baseUrl+"/collection/details/sms/send",//催收短信模板
    collection_deduction:baseUrl+"/collection/details/deduction",//催收申请减免
    collection_adminList:baseUrl+"/collection/details/adminList",//催收申请人数据
    collection_reduce:baseUrl+"/collection/details/reduce",//催收申请人数据
    collection_concessions:baseUrl+"/collection/details/concessions",//催收申请人数据
    
    dictionary_list:baseUrl+"/dict",//字典管理列表查询 (1：业务参数；2：app参数；3：系统参数)
    dictionary_add:baseUrl+"/dict/add",//字典列表添加
    dictionary_del:baseUrl+"/dict/delete",//字典列表删除
    dictionary_update:baseUrl+"/dict/update",//字典列表修改
    dictionary_type:baseUrl+"/dict/type",//字典枚举列表
    dictionary_typeAdd:baseUrl+"/dict/type/add",//字典枚举列表新增
    dictionary_typeDel:baseUrl+"/dict/type/delete",//字典枚举列表删除
    dictionary_typeUpdate:baseUrl+"/dict/type/update",//字典枚举列表修改
    
    telemarket_list:baseUrl+"/telemarketer/list",//电话营销分配列表
    telemarket_dispatchList:baseUrl+"/telemarketer/dispatch/list",//分单列表
    telemarket_dispatch:baseUrl+"/telemarketer/dispatch",//分单提交
    telemarket_listTemplate:baseUrl+"/telemarketer/template/",//模板下载
    telemarket_listImport:baseUrl+"/telemarketer/list/import",//模板导入提交
    telemarket_listExport:baseUrl+"/telemarketer/list/export",//已分配导出
    telemarket_listLog:baseUrl+"/telemarketer/log/list",//电销记录
    telemarket_listTransfer:baseUrl+"/telemarketer/transfer",//转派表单提交
    telemarket_logAdd:baseUrl+"/telemarketer/log/add",//我的电销添加电销记录
    getTelemarketMem:baseUrl+"/telemarketer/admin/list",//获取电销员下拉
    telemarket_dailyperformance:baseUrl+"/telemarketer/performance/list",//电销-每日业绩统计
    telemarket_dailyperExport:baseUrl+"/telemarketer/performance/list/export",//电销-每日业绩统计导出
    telemarket_dailyperUpdate:baseUrl+"/telemarketer/performance/update",//电销-每日业绩统计更新
    telemarket_dailyconversion:baseUrl+"/telemarketer/conversion/list",//电销-每日电销转化
    telemarket_dailyconExport:baseUrl+"/telemarketer/conversion/list/export",//电销-每日电销转化导出
    telemarket_dailyconUpdate:baseUrl+"/telemarketer/conversion/update",//电销-每日电销转化更新

    

    partner:baseUrl+'/partner',
    partner_admin:baseUrl+'/partner/admin',
    partner_option:baseUrl+'/step/selection/partner/list',
    partner_list:baseUrl+'/partner/list',
    partner_delete:baseUrl+'/partner/remove',
    partner_add:baseUrl+'/partner/add',
    partner_update:baseUrl+'/partner/modification',
    business_list:baseUrl+'/partner/business/data/list',
    schedule_track_list:baseUrl+'/partner/schedule/track/list',
    schedule_track:baseUrl+'/partner/schedule/track',
    schedule_track_add:baseUrl+'/partner/schedule/track/add',
    schedule_track_update:baseUrl+'/partner/schedule/track/update',
    sysadmin:baseUrl+'/admin/list',
    sysadmin_add:baseUrl+'/admin/add',
    sysadmin_password:baseUrl+'/admin/update/password',
    sysadmin_delete:baseUrl+'/admin/delete',
    sysadmin_view:baseUrl+'/admin/view',
    sysadmin_update:baseUrl+'/admin/update',
    sysrole:baseUrl+'/role/list',
    sysrole_delete:baseUrl+'/role/delete',
    sysrole_update:baseUrl+'/role/update',
    sysrole_list:baseUrl+'/admin/selection/role/list',
    menu_list:baseUrl+'/menu/list',
    role_menu:baseUrl+'/role/role/menu',
    role_add:baseUrl+'/role/add',
    role_update:baseUrl+'/role/update',
    step:baseUrl+'/step/partner/list',
    step_list:baseUrl+'/step/list',
    step_identification:baseUrl+'/step/update/identification',
    step_update:baseUrl+'/step/update',
    credit_list:baseUrl+'/credit/process/config/list',
    credit_update:baseUrl+'/credit/process/config/update',
    credit_modification:baseUrl+'/credit/process/config/modification',
    credit_pageinfo:baseUrl+'/credit/process/config/pageinfo',
    credit_save:baseUrl+'/credit/process/config/save',
    credit_delete:baseUrl+'/credit/process/config/delete',
    collection_pageinfo:baseUrl+'/process/collection/config/pageinfo',
    collection_update:baseUrl+'/process/collection/config/update',
    collection_save:baseUrl+'/process/collection/config/save',
    customer_update:baseUrl+'/process/customer/config/update',
    customer_pageinfo:baseUrl+'/process/customer/config/pageinfo',
    customer_save:baseUrl+'/process/customer/config/save',
    reconciliation_update:baseUrl+'/manual/reconciliation/config/update',
    reconciliation_pageinfo:baseUrl+'/manual/reconciliation/config/pageinfo',
    reconciliation_save:baseUrl+'/manual/reconciliation/config/save',
    sms_pageinfo:baseUrl+'/sms/content/config/pageinfo',
    sms_save:baseUrl+'/sms/content/config/save',
    sms_delete:baseUrl+'/sms/content/config/delete',
    sms_period:baseUrl+'/selection/product/period',
    workbench_partner:baseUrl+'/workbench/partner/situation',
    workbench_today:baseUrl+'/workbench/today/data',
    workbench_today_audit:baseUrl+'/workbench/today/audit/situation',
    workbench_average:baseUrl+'/workbench/average/daily/data',
    workbench_historical:baseUrl+'/workbench/historical/loan/situation',
    workbench_consumption:baseUrl+'/workbench/consumption/situation',
    workbench_today_five:baseUrl+'/workbench/today/loan/top/five',
    workbench_seven_five:baseUrl+'/workbench/seven/loan/top/five',
    channel_list:baseUrl+'/pay/channel/config/channel/list',
    partner_channel_list:baseUrl+'/partner/config/channel/list',
    partner_channel_pageinfo:baseUrl+'/partner/config/channel/pageinfo',
    partner_channel_update:baseUrl+'/partner/config/channel/update',
    sms_list:baseUrl+'/sms/content/config/list',
    pay_config_list:baseUrl+'/pay/channel/config/list',
    pay_config_pageinfo:baseUrl+'/pay/channel/config/pageinfo',
    pay_config_update:baseUrl+'/pay/channel/config/update',
    pay_drop_statistics:baseUrl+'/pay/channel/config/drop/statistics',
    pay_loan_list:baseUrl+'/pay/channel/config/loan/list',
    pay_loan_repayment:baseUrl+'/pay/channel/config/repayment/list',
    selection_stage:baseUrl+'/selection/customer/collection/stage',
    selection_stage_option:baseUrl+'/selection/collection/stage',

    // 规则配置相关接口
    risk_rule_set:baseUrl1+'/risk/rule/set/list',
    risk_user_level:baseUrl1+'/risk/user/level',
    risk_rule_creation:baseUrl1+'/risk/rule/set/creation',
    risk_set_modification:baseUrl1+'/risk/rule/set/modification',
    risk_rule_base:baseUrl1+'/risk/rule/base/list',
    risk_rule_add:baseUrl1+'/risk/rule/add',
    risk_rule_list:baseUrl1+'/risk/rule/list',
    risk_rule_order:baseUrl1+'/risk/rule/order',
    risk_rule:baseUrl1+'/risk/rule',
    risk_rule_record:baseUrl1+'/risk/rule/record',
    risk_rule_modification:baseUrl1+'/risk/rule/modification',
    risk_rule_remove:baseUrl1+'/risk/rule/remove',
    risk_execute:baseUrl1+'/risk/rule/set/execute/modification',
    risk_detail:baseUrl1+'/risk/rule/set/detail',
    risk_set:baseUrl1+'/risk/rule/set',
    risk_level_set:baseUrl1+'/risk/user/level/list',
    risk_level_creation:baseUrl1+'/risk/user/level/creation',
    risk_level_modification:baseUrl1+'/risk/user/level/modification',
    risk_level_remove:baseUrl1+'/risk/user/level/remove',

    group_list:baseUrl+'/partner/group/list',
    group_leader:baseUrl+'/partner/group/leader',
    group_member:baseUrl+'/partner/group/member',
    group_save:baseUrl+'/partner/group/save',
    group_modification:baseUrl+'/partner/group/modification',
    group_delete:baseUrl+'/partner/group/delete',
    group_presence:baseUrl+'/partner/group/presence/member',
    group_collection_stageList:baseUrl+'/process/collection/config/stagelist',
    group_customer_stageList:baseUrl+'/process/customer/config/stagelist',
    billing_list:baseUrl+'/billing/recharge/detail',
    billing_listExport:baseUrl+'/billing/recharge/detail/export',
    billing_account:baseUrl+'/billing/account/detail',
    billing_accountExport:baseUrl+'/billing/account/detail/export',
    billing_add:baseUrl+'/billing/recharge/add',
    billing_consumption:baseUrl+'/billing/consumption/detail',
    billing_consumptionExport:baseUrl+'/billing/consumption/detail/export',

    
}
Vue.prototype.$action = action